package conson.tech.manage.coupons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import conson.tech.manage.coupons.entity.pojo.CouponsCostProvider;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * InterfaceName: CouponsCostProviderMapper
 * Description:
 * Author: ZYF
 * Date: 2020/7/20
 * Version: 1.0
 */
public interface CouponsCostProviderMapper extends BaseMapper<CouponsCostProvider> {

    /**
     *  删除优惠券费用归属
     */
    void deleteCost(@Param("couponsId") Long couponsId);

    List<CouponsCostProvider> queryCostProvider(@Param("couponsId")  Long couponsId);
}
